
/*
 * user:
 * date: 121/23
 * description: ket noi db
 */
package singleton;

public class ABC {
	private static ABC instance;

	/**
	 * tra ve doi tuong ABC
	 * 
	 * @param 
	 * @return ABC
	 */
	public static ABC getInstance() {
		if (instance == null)
			instance = new ABC();
		return instance;

	}

	private ABC() {
	}

	
	/**
	 * cong 2 so
	 */
	public int congXY(int x, int y){
		return x + y;
	}
}
